package com.example.samchan.music_player_0.data;

/* 包含歌曲的名称，歌手，路径，时长等属性及相关获取方法 */

public class Music {
    private String musicName;
    private String musicArtist;
    private String musicPath;
    private String musicDuration;
    private String musicAlbum;
    private long albumID;

    public Music(String musicName, String musicArtist, String musicPath, String musicDuration, String musicAlbum, long albumID) {
        this.musicName = musicName;
        this.musicArtist = musicArtist;
        this.musicPath = musicPath;
        this.musicDuration = musicDuration;
        this.musicAlbum = musicAlbum;
        this.albumID = albumID;
    }

    public String getMusicName() {
        return this.musicName;
    }

    public String getMusicArtist() {
        return this.musicArtist;
    }

    public String getMusicPath() {
        return this.musicPath;
    }

    public String getMusicDuration() {
        return musicDuration;
    }

    public String getMusicAlbum() { return musicAlbum; }

    public long getAlbumID() { return albumID; }
}
